package com.engine4cloud.tdf.supervision.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Schema(description = "社区矫正人员-就业就学信息")
public class JzdxEmploymentUpdateDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 是否三无人员
     */
    @Schema(description = "是否三无人员", example = "0")
    @NotBlank(message = "是否三无人员不能为空")
    private String sfswry;

    /**
     * 就业就学情况
     */
    @Schema(description = "就业就学情况", example = "01")
    @NotBlank(message = "就业就学情况不能为空")
    private String jyjxqk;

    /**
     * 原工作单位
     */
    @Schema(description = "原工作单位")
    private String ygzdw;

    /**
     * 现工作单位
     */
    @Schema(description = "现工作单位")
    private String xgzdw;

    /**
     * 单位联系电话
     */
    @Schema(description = "单位联系电话")
    private String dwlxdh;

    /**
     * 捕前职业
     */
    @Schema(description = "捕前职业", example = "[\"04\",\"0401\"]")
    @NotEmpty(message = "捕前职业不能为空")
    private List<String> preProfessionList;

}
